Reversible Or Irreversible Expansion Or Compression